﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Exam.Shared;

namespace Exam.IService
{
    public interface IBaseService<Tout,T> where Tout : class where T:class
    {
        public Task<ResData<Tout>> Add(T t);

        public Task<ResData<Tout>> Update(T t);

        public Task<ResData<Tout>> Delete(List<T> ts);

        public Task<ResData<Tout>> SoftDelete(List<T> ts);
    }
}
